:root {

    --green: #00b894;
    --orange: #f69552;
    --blue: #0d87a3;
    --beige: #f1e6cf;
    --dark: #222;
    --white: #FFFFFF; 

    --font-primary: 'Times New Roman', Times, serif;
    --font-size-base: 16px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-body: 1.1rem;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;

    --radius: 10px;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    background-color: var(--beige);
    color: var(--dark);
    box-sizing: border-box;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: bold;
  line-height: 1.3;
  margin: 0.5rem 0;
}

h1 {
  font-size: var(--font-size-h1);
  color: var(--orange);
}

h2 {
  font-size: var(--font-size-h2);
  color: var(--orange);
}

h3 {
  font-size: var(--font-size-h3);
  color: var(--orange);
}

.text-muted {
  color: #888;
}

.text-sm {
  font-size: 0.875rem;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--orange);
}



button, .filter-btn {
    transition: background-color 0.3s ease, color 0.3s ease;
}




/*********************************************************************************************************************************************/

/************************************** HEADER **********************************************/

/*********************************************************************************************************************************************/

.strip{
    background: var(--blue);
    padding: 0.5rem;
    display: flex;
}

.header {
    background: var(--beige);
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    border-bottom: 2px solid #c8e6c9;
    margin: 0 90px;
    align-items: center; /* Updated */
}

    .logo {
        margin-right: 1.5rem;
	width: 200px;
    	height: auto;

    }


/* Navbar */

.navbar {
    background-color: var(--green);
    padding: 0.75rem 2rem;
    text-align: center;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar li {
    display: inline;
    margin: 0 1rem;
    padding: 0.5rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    background-color: var(--blue);
    border-radius: 0px;
}


/*************** Dropdown Styles ****************/

.navbar ul li.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 1px 0;
  z-index: 1000;
  top: 100%;
  left: 0;
  min-width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem; /* Increased for better clickability */
    color: #333;
    text-decoration: none;
    font-size: 1rem;       /* Optional: consistent sizing */
}

.dropdown-menu li a:hover {
  background-color: var(--blue);
}

/***************** Show dropdown on hover ********************/

.navbar ul li.dropdown:hover .dropdown-menu {
  display: block;
}


/***************** Responsive styles for nav and DD ********************/

@media (max-width: 768px) {
    .navbar {
        text-align: left;
        padding: 1rem;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .navbar li {
        display: block;
        margin: 0.25rem 0;
        width: 100%;
    }

    .navbar a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .navbar ul li.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: 100%;
        padding-left: 1rem;
    }

    .navbar ul li.dropdown:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }

    /* Optional: Enable dropdown toggle via JavaScript click */
    .navbar ul li.dropdown.open .dropdown-menu {
        display: block;
    }
}

/********************** Search Form for Hero section ***********************/

.search-form {
  display: flex;
  justify-content: right;
  width: 100%;
  height: 45px;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0rem;
}

.search-form input {
    flex: right;
    width: 100%;            /* fills available space */
    max-width: 700px;       /* limits it on large screens */
    padding: 0.5rem 1rem;   /* left/right spacing inside */
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1rem;
}

.search-form button {
    padding: 0.5rem 4rem;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #f69552;
}


/********************** Responsive Style for Hero section ***********************/

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hero-section h2 {
    font-size: 1.2rem;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    height: auto;
  }

  .search-form input {
    max-width: 100%;
    width: 100%;
  }

  .search-form button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}





/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/



.container {
    border-radius: 10px;
    padding: 2rem;
    margin: 0rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.section h2 {
    color: var(--green);
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea, button {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: var(--orange);
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e4642d;
}

.publications {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.publication {
    padding: 1rem;
    border-left: 5px solid var(--blue);
    background-color: white;
    border-radius: 5px;
}

.publication h3 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}



/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/



.footer {
    background-color: var(--green);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

